package org.itboys.core.entity.mysql;

import org.itboys.admin.dto.lasted.SundayUploadDto;
import org.itboys.mysql.entity.BaseMySqlEntity;

import java.util.List;
import java.util.Map;

/**
 * 作者：jiangxiong
 * 日期：2017年5月8日
 * 联系方式 ：empty90911@126.com
 * 描述：圣代_商品_实体。如果字段不够请自行扩展。不需要继承此类！！！！！！！！！！！！
 * 当前商品为单规格。如果需要多规格，请自行扩展
 */
public class SundayProduct extends BaseMySqlEntity {
    private Long  categoryId;//分类id  区域Id
    private String categoryName;//分类名称  不存储
    private Long parentId;//父分类id
	//基础属性
	private String name;//品名
    private String viceName;//
    private String number;//款号
    private String backImage;//背景图
    private String defaultImage;//默认图片
    private Integer status;//状态。
    private Integer sequence;//排序值
    private String pack;//包装
    private String desc;
    private String baseUnit;//基础单位
    private String convertUnit;//换算单位
    private String convertRelation;//换算关系
    private Integer saleArea;//销售区域   判断是否为全局（暂时不用）
    private Integer priceArea;//价格区域   判断是否为全局（暂时不用）


    List<SundayUploadDto> rollImages;//轮播图

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getViceName() {
        return viceName;
    }

    public void setViceName(String viceName) {
        this.viceName = viceName;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getBackImage() {
        return backImage;
    }

    public void setBackImage(String backImage) {
        this.backImage = backImage;
    }

    public String getDefaultImage() {
        return defaultImage;
    }

    public void setDefaultImage(String defaultImage) {
        this.defaultImage = defaultImage;
    }


    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getSequence() {
        return sequence;
    }

    public void setSequence(Integer sequence) {
        this.sequence = sequence;
    }

    public String getPack() {
        return pack;
    }

    public void setPack(String pack) {
        this.pack = pack;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getBaseUnit() {
        return baseUnit;
    }

    public void setBaseUnit(String baseUnit) {
        this.baseUnit = baseUnit;
    }

    public String getConvertUnit() {
        return convertUnit;
    }

    public void setConvertUnit(String convertUnit) {
        this.convertUnit = convertUnit;
    }

    public String getConvertRelation() {
        return convertRelation;
    }

    public void setConvertRelation(String convertRelation) {
        this.convertRelation = convertRelation;
    }

    public Integer getSaleArea() {
        return saleArea;
    }

    public void setSaleArea(Integer saleArea) {
        this.saleArea = saleArea;
    }

    public Integer getPriceArea() {
        return priceArea;
    }

    public void setPriceArea(Integer priceArea) {
        this.priceArea = priceArea;
    }

    public List<SundayUploadDto> getRollImages() {
        return rollImages;
    }

    public void setRollImages(List<SundayUploadDto> rollImages) {
        this.rollImages = rollImages;
    }
}
